package com.xdap.pg.exam.entity;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;

import java.util.Objects;

@Table("answer_item_list")
@Style(Upper2Underline = true)
public class PaperItem extends AbstractBasePojo implements java.io.Serializable {

    private static final long serialVersionUID = -6184503194194419132L;

    /**
     * 试题Code
     */
    @Column("answer_item_list_Code")
    private String paperItemCode;

    /**
     * No.
     */
    @Column("answer_item_list_no")
    private String paperItemNo;

    /**
     * Check Item
     */
    @Column("answer_item_list_check_item")
    private String paperItemCheckItem;


    /**
     * 备注
     */
    @Column("answe_item_list_note")
    private String paperItemNote;


    /**
     * Type
     */
    @Column("answer_item_list_Type")
    private String paperItemType;

    /**
     * Group
     */
    @Column("answer_item_list_gruop")
    private String paperItemGroup;

    /**
     * Area
     */
    @Column("answer_item_list_Area")
    private String paperItemArea;

    /**
     * Frequency
     */
    @Column("answer_item_list_frequency")
    private String paperItemFrequency;

    @Column("answer_item_list_results")
    private String paperItemListResults;

    @Column("answer_item_list_site_name")
    private String paperItemSite;

    @Column("answer_item_list_Code_version")
    private String paperItemVersion;

    public PaperItem() {
    }

    public String getPaperItemCode() {
        return paperItemCode;
    }

    public void setPaperItemCode(String paperItemCode) {
        this.paperItemCode = paperItemCode;
    }

    public String getPaperItemNo() {
        return paperItemNo;
    }

    public void setPaperItemNo(String paperItemNo) {
        this.paperItemNo = paperItemNo;
    }

    public String getPaperItemCheckItem() {
        return paperItemCheckItem;
    }

    public void setPaperItemCheckItem(String paperItemCheckItem) {
        this.paperItemCheckItem = paperItemCheckItem;
    }

    public String getPaperItemNote() {
        return paperItemNote;
    }

    public void setPaperItemNote(String paperItemNote) {
        this.paperItemNote = paperItemNote;
    }

    public String getPaperItemType() {
        return paperItemType;
    }

    public void setPaperItemType(String paperItemType) {
        this.paperItemType = paperItemType;
    }

    public String getPaperItemGroup() {
        return paperItemGroup;
    }

    public void setPaperItemGroup(String paperItemGroup) {
        this.paperItemGroup = paperItemGroup;
    }

    public String getPaperItemArea() {
        return paperItemArea;
    }

    public void setPaperItemArea(String paperItemArea) {
        this.paperItemArea = paperItemArea;
    }

    public String getPaperItemFrequency() {
        return paperItemFrequency;
    }

    public void setPaperItemFrequency(String paperItemFrequency) {
        this.paperItemFrequency = paperItemFrequency;
    }

    public String getPaperItemListResults() {
        return paperItemListResults;
    }

    public void setPaperItemListResults(String paperItemListResults) {
        this.paperItemListResults = paperItemListResults;
    }

    public String getPaperItemSite() {
        return paperItemSite;
    }

    public void setPaperItemSite(String paperItemSite) {
        this.paperItemSite = paperItemSite;
    }

    public String getPaperItemVersion() {
        return paperItemVersion;
    }

    public void setPaperItemVersion(String paperItemVersion) {
        this.paperItemVersion = paperItemVersion;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PaperItem paperItem = (PaperItem) o;
        return Objects.equals(paperItemCode, paperItem.paperItemCode) && Objects.equals(paperItemNo, paperItem.paperItemNo) && Objects.equals(paperItemCheckItem, paperItem.paperItemCheckItem) && Objects.equals(paperItemNote, paperItem.paperItemNote) && Objects.equals(paperItemType, paperItem.paperItemType) && Objects.equals(paperItemGroup, paperItem.paperItemGroup) && Objects.equals(paperItemArea, paperItem.paperItemArea) && Objects.equals(paperItemFrequency, paperItem.paperItemFrequency) && Objects.equals(paperItemListResults, paperItem.paperItemListResults) && Objects.equals(paperItemSite, paperItem.paperItemSite) && Objects.equals(paperItemVersion, paperItem.paperItemVersion);
    }

    @Override
    public int hashCode() {
        return Objects.hash(paperItemCode, paperItemNo, paperItemCheckItem, paperItemNote, paperItemType, paperItemGroup, paperItemArea, paperItemFrequency, paperItemListResults, paperItemSite, paperItemVersion);
    }

    @Override
    public String toString() {
        return "PaperItem{" +
                "paperItemCode='" + paperItemCode + '\'' +
                ", paperItemNo='" + paperItemNo + '\'' +
                ", paperItemCheckItem='" + paperItemCheckItem + '\'' +
                ", paperItemNote='" + paperItemNote + '\'' +
                ", paperItemType='" + paperItemType + '\'' +
                ", paperItemGroup='" + paperItemGroup + '\'' +
                ", paperItemArea='" + paperItemArea + '\'' +
                ", paperItemFrequency='" + paperItemFrequency + '\'' +
                ", paperItemListResults='" + paperItemListResults + '\'' +
                ", paperItemSite='" + paperItemSite + '\'' +
                ", paperItemVersion='" + paperItemVersion + '\'' +
                '}';
    }
}
